cmake_minimum_required(VERSION 3.0)

project(disparity)

find_package(OpenCV REQUIRED)
include_directories(${OpenCV_INCLUDE_DIRS})

find_package(Pangolin REQUIRED)
include_directories(${Pangolin_INCLUDE_DIRS})

include_directories("/usr/local/include/Eigen")

aux_source_directory(./ SOURCE_DIRS)

add_executable(${PROJECT_NAME} ${SOURCE_DIRS})

target_link_libraries(${PROJECT_NAME} ${OpenCV_LIBRARIES} ${Pangolin_LIBRARIES})